<template>
  <div>
    <CloudMenu v-model="current" mode="horizontal">
      <CloudMenuItem key="mail"> <CloudIcon type="mail" />Navigation One </CloudMenuItem>
      <CloudMenuItem key="app" disabled> <CloudIcon type="appstore" />Navigation Two </CloudMenuItem>
      <CloudSubMenu>
        <span slot="title" class="submenu-title-wrapper"
          ><CloudIcon type="setting" />Navigation Three - Submenu</span
        >
        <CloudMenuItemGroup title="Item 1">
          <CloudMenuItem key="setting:1">
            Option 1
          </CloudMenuItem>
          <CloudMenuItem key="setting:2">
            Option 2
          </CloudMenuItem>
        </CloudMenuItemGroup>
        <CloudMenuItemGroup title="Item 2">
          <CloudMenuItem key="setting:3">
            Option 3
          </CloudMenuItem>
          <CloudMenuItem key="setting:4">
            Option 4
          </CloudMenuItem>
        </CloudMenuItemGroup>
      </CloudSubMenu>
      <CloudMenuItem key="alipay">
        <a href="https://antdv.com" target="_blank" rel="noopener noreferrer"
          >Navigation Four - Link</a
        >
      </CloudMenuItem>
    </CloudMenu>
  </div>
</template>
<script>
export default {
  title: '1.顶部导航',
  data() {
    return {
      current: ['mail'],
    };
  },
};
</script>